﻿using Newtonsoft.Json;

namespace SimpleTerminal.Http
{
    class Response
    {
        public class UpgradeData
        {
            [JsonProperty("upgrade")]
            public string Upgrade { get; set; }

            [JsonProperty("describe")]
            public string Describe { get; set; }

            [JsonProperty("upgrade_url")]
            public string UpgradeUrl { get; set; }
        }
        [JsonProperty("code")]
        public int Code { get; set; }

        [JsonProperty("msg")]
        public string Msg { get; set; }

        [JsonProperty("data")]
        public UpgradeData Data { get; set; }
    }
}
